package com.tuniu.agents.common.service;

import com.tuniu.agents.common.pojo.ChatRecordErrorLog;

public interface ChatRecordErrorLogService {

    /**
     * Save a log entry for a specific conversation.
     * 
     * @param conversationId The ID of the conversation.
     * @param content The content of the log entry.
     * @return The saved ChatRecordErrorLog object.
     */
    ChatRecordErrorLog saveLog(String conversationId, String content);

    /**
     * Retrieve a log entry for a specific conversation.
     * 
     * @param conversationId The ID of the conversation.
     * @return The ChatRecordErrorLog object for the conversation.
     */
    ChatRecordErrorLog getRecordOnce(String conversationId);

}
